package lab02.test35;

public class Worker extends Employee {
    int days;

    public int getDays() {
        return days;
    }

    public void setDays(int days) {
        this.days = days;
    }

    @Override
    public double comouteSalary() {
        return days*100;//假设每天的工资是100
    }
}
